package com.niuwa.p2p.service.channel;

import java.util.List;

import com.niuwa.p2p.entity.channel.CataLogFile;
import com.niuwa.p2p.entity.user.User;


public interface ICataLogFileService {

	
	/**
	 * 保存借款文件記錄
	 * @param corpCode 
	 * @param cataLogFileKey 
	 */
	void saveCatalogFile(String[] fileIDs, String catalogNo,
			User currentUser, String corpCode);
	/**
	 * 根据条件查询借款文件
	 * @param catalogNo
	 * @param corpCode 
	 * @return
	 */
	List<CataLogFile> getCatalogFilesByCatalogNo(String catalogNo, String corpCode);
	/**
	 * 删除借款文件
	 * @param catalogNo
	 * @param fileId 
	 * @param corpCode 
	 */
	void updateCatalogFiles(String catalogNo, String fileId, String corpCode);


}
